package com.fenghongzhang.day003mvp.contract;

import com.fenghongzhang.day003mvp.entity.Food;
import com.fenghongzhang.mvp_lib.model.IModel;
import com.fenghongzhang.mvp_lib.view.IView;

import java.util.List;

import okhttp3.Callback;

public interface FoodContract {

    //数据层
    interface IFoodModel extends IModel{
        //网络请求,下载串功能.
        void getFoodDate(Callback callback);

//        void login(String name,String pwd,Callback callback);
//        void login(Callback callback);
    }

    //视图层
    interface IFoodView extends IView{
       void initAdapter(List<Food.DataBean> list);

//       String getName();
//       String getPwd();

    }
}
